package com.lizhe.helloword;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;

@SpringBootApplication
//@ComponentScan(basePackages = "com.lizhe")
public class HellowordApplication {

    public static void main(String[] args) {
        SpringApplication.run(HellowordApplication.class, args);
    }

    // @ComponentScan(basePackages = "com.lizhe") 用于指定扫描的包，可以把启动类放置其他文件夹
    // 更多参数spring注解之@ComponentScan、@ComponentScans ：https://www.cnblogs.com/konglxblog/p/15361077.html

}
